const setCompany = (params, data) => { // 放入数据
  let arr = ['companyId', 'localCompanyName', 'localDepartmentName', 'lineShort']
  for (let i = 0; i < data.length; i++) {
    console.log(data[i])
    params[arr[i]] = encodeURIComponent(data[i][arr[i]])
  }
}

export default setCompany
